<?php
	if (!defined('EXPONENT')) exit('');
	if (exponent_users_isAdmin() ||  exponent_permissions_check(array("administrate"),$loc))
	{
		$sql = "TRUNCATE TABLE {$db->prefix}syslog";
		$db->sql($sql);
		//exponent_flow_redirect();
	}
	else
	{
		echo SITE_403_HTML; 
	}

?>
